package org.moyakarta.rest;


public class Place {
   private String id;
   private String link;
   private String title;
   private double lat;
   private double lon;
   private int z;

   public String getId() {
      return id;
   }

   public void setId(String id) {
      this.id = id;
   }

   public String getLink() {
      return link;
   }

   public void setLink(String link) {
      this.link = link;
   }

   public String getTitle() {
      return title;
   }

   public void setTitle(String title) {
      this.title = title;
   }

   public double getLat() {
      return lat;
   }

   public void setLat(double lat) {
      this.lat = lat;
   }

   public double getLon() {
      return lon;
   }

   public void setLon(double lon) {
      this.lon = lon;
   }

   public int getZ() {
      return z;
   }

   public void setZ(int z) {
      this.z = z;
   }
   
   @Override
   public String toString() {
      StringBuilder sb = new StringBuilder();
      sb.append("Place:{")
      .append("title: ").append(title).append(" ")
      .append("lat: ").append(lat).append(" ")
      .append("lon: ").append(lon).append(" ")
      .append("z: ").append(z).append(" ")
      .append("id: ").append(id).append("} ");
      return sb.toString();
   }
}
